{{define "structarrayslice/index.html"}}
<!DOCTYPE html>
<html>
<head>
    <title>structarrayslice</title>
</head>
<body>
<h1>方式一</h1>
<p>
{{ range .}}
    {{ .Name }} {{ .Age }} <br>
{{ end}}
</p>
<h1>方式二</h1>
<p>
{{ range $i,$v := .}}
    {{ $i }} -> {{ $v.Name }} {{ $v.Age }} <br>
{{ end}}
</p>
</body>
</html>
{{end}}